import request from '@/utils/request'
import { GFCD } from '@/utils/utils'
export function damsPost(data, method) {
  return request({
    url: `${GFCD('dams').domain}/dams/dams-web`,
    method: 'post',
    data: {
      data: JSON.stringify(data),
      method: method,
    },
  })
}
export function wmsPost(data, method) {
  return request({
    url: `${GFCD('dams').domain}/wms/pda-web`,
    method: 'post',
    data: {
      data: JSON.stringify(data),
      method: method,
    },
  })
}
